﻿@model IEnumerable<MVC4_Test.Models.Question>

@{
    ViewBag.Title = "Questions";
}

          
    <div id="mainbar">
        <div class="subheader">
            <h1 id="h-all-questions">All Questions</h1>

            
<div id="tabs">
        <a class="youarehere" href="/question?sort=newest" title="The most recently asked questions">newest</a>
        <a href="/question?sort=featured" title="Questions with open bounties">   <span class="bounty-indicator-tab">455</span> 
        featured</a>
        <a href="/question?sort=frequent" title="Questions with the most links">frequent</a>
        <a href="/question?sort=votes" title="Questions with the most votes">votes</a>
        <a href="/question?sort=active" title="Questions that have recent activity">active</a>
        <a href="/question?sort=unanswered" title="Questions that have no upvoted answers">unanswered</a>
</div>

        <div id="questions">

        @foreach (var item in Model)
        {
            <div class="question-summary" id="question-summary-22154451">
    <div class="statscontainer">
        <div class="statsarrow"></div>
        <div class="stats">
            <div class="vote">
                <div class="votes">
                    <span class="vote-count-post "><strong>?????</strong></span>
                    <div class="viewcount">votes</div>
                </div>
            </div>
            <div class="status unanswered">
                <strong>@item.Answer.Count()</strong>answers
            </div>
        </div>
        <div class="views " title="3 views">
    3 views
</div>
    </div>
    <div class="summary">
        <h3><a href="#" class="question-hyperlink">@item.Title</a></h3>
        <div class="excerpt">
            @item.Text
        </div>          
        @foreach (var tag in item.QuestionTag)
        {
         <div class="tags t-flex t-actionscript">
            <a href=""/tagged/@item.TagId"" class="post-tag" title="show questions tagged '@tag.Tag.Text'" rel="tag">@tag.Tag.Text</a>

            <div class="post-menu">
            </div>
        </div>
        }
        <div class="started fr">
            <div class="user-info ">
    <div class="user-action-time">
        asked <span title="@item.Date.ToShortDateString()" class="relativetime">@item.Date secs ago</span>
    </div>
    <div class="user-gravatar32">
        <a href="#"><div class="gravatar-wrapper-32"><img src="http://i.stack.imgur.com/Hsucm.jpg?s=32&g=1" alt=""></div></a>
    </div>
    <div class="user-details">
        <a href="#">NAAAAAAAAM</a><br>
        <span class="reputation-score" title="reputation score " dir="ltr">10</span><span title="5 bronze badges"><span class="badge3"></span><span class="badgecount">5</span></span>
    </div>
</div>
        </div>  
    </div>
</div>
        }
    </div>

        <br class="cbt" />
<div class="page-sizer fr">
            <a href="/questions?pagesize=15&sort=newest" title="show 15 items per page" class="page-numbers current">15</a>
            <a href="/questions?pagesize=30&sort=newest" title="show 30 items per page" class="page-numbers ">30</a>
            <a href="/questions?pagesize=50&sort=newest" title="show 50 items per page" class="page-numbers ">50</a>
        <span class="page-numbers desc">per page</span>

    </div><div class="pager fl">
 <span class="page-numbers current">1</span>         <a href="/questions?page=2&amp;sort=newest" title="go to page 2"> <span class="page-numbers">2</span> </a> 
        <a href="/questions?page=3&amp;sort=newest" title="go to page 3"> <span class="page-numbers">3</span> </a> 
        <a href="/questions?page=4&amp;sort=newest" title="go to page 4"> <span class="page-numbers">4</span> </a> 
        <a href="/questions?page=5&amp;sort=newest" title="go to page 5"> <span class="page-numbers">5</span> </a> 
 <span class="page-numbers dots">…</span>         <a href="/questions?page=452493&amp;sort=newest" title="go to page 452493"> <span class="page-numbers">452493</span> </a> 
        <a href="/questions?page=2&amp;sort=newest" rel="next" title="go to page 2"> <span class="page-numbers next"> next</span> </a> 

    </div>
    
            <div class="module" id="questions-count">
                <div class="summarycount al">@ViewBag.Counter</div>
                <p>questions</p>
            </div>
            <div class="everyonelovesstackoverflow" id="adzerk1132480538">
            </div>  
    <div id="hireme">
        
  
        

@Html.Action("_RelatedTagSideBar");

@Html.Partial("_RelatedTagSideBar")

